package com.sinosoft.tcmneim.service.impl;

import com.sinosoft.tcmneim.dao.TblDisecorolIncoexpureDao;
import com.sinosoft.tcmneim.dataObject.TblDisecorolIncoexpure;
import com.sinosoft.tcmneim.service.TblDisecorolIncoexpureService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TblDisecorolIncoexpureServiceImpl implements TblDisecorolIncoexpureService {
    @Resource
    private TblDisecorolIncoexpureDao tblDisecorolIncoexpureDao;


    @Override
    public List<TblDisecorolIncoexpure> list() {
        return tblDisecorolIncoexpureDao.list();
    }

    @Override
    public List<TblDisecorolIncoexpure> selectByItemCode(String itemCode) {
        return tblDisecorolIncoexpureDao.selectByItemCode(itemCode);
    }

    @Override
    public int insertSelective(TblDisecorolIncoexpure tblDisecorolIncoexpure) {
        return tblDisecorolIncoexpureDao.insert(tblDisecorolIncoexpure);
    }

    @Override
    public int updated(TblDisecorolIncoexpure tblDisecorolIncoexpure) {
        return tblDisecorolIncoexpureDao.updated(tblDisecorolIncoexpure);
    }

    @Override
    public int deleteByItemCode(String itemCode) {
        return tblDisecorolIncoexpureDao.deleteByItemCode(itemCode);
    }
}
